package com.service.abolishing.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 终端数据体结构
 */

@Data
public class NceUploadData implements Serializable {
    //根据云平台上报数据格式创建entity类
    private List<ApUploadData> data;
    private String secret;
    private String type;
    @Data
    public static class ApUploadData implements Serializable{
        private String apMac;
        private List<TerminalData> terminalList;
    }
    @Data
    public static class TerminalData implements Serializable{
        private int rssi;
        private String terminalMac;
        private Long timestamp;
    }
}
